package com.hp.gxw.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hp.gxw.entity.CostCountTemp;
import com.hp.gxw.mapper.CostCountTempMapper;
import com.hp.gxw.service.ICostCountTempService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author huangping
 * @since 2024-02-21
 */
@Service
public class CostCountTempServiceImpl extends ServiceImpl<CostCountTempMapper, CostCountTemp> implements ICostCountTempService {

    @Resource
    private CostCountTempMapper costCountTempMapper;

    @Override
    public List<CostCountTemp> countDirectLabor(String code) {
        return costCountTempMapper.countDirectLabor(code);
    }

    @Override
    public List<CostCountTemp> listHasDepreciationOrLease(String month, String type) {
        return costCountTempMapper.listHasDepreciationOrLease(month,type);
    }
}
